// 登录页接口
import axios from './axios'

// 密码登录接口
export function tologin(data){
    return axios({
        url: '/api/common/auth/login',
        method: 'POST',
        data
    })
}
// 检验图形验证码接口
export function verifyCaptcha(data) {
    return axios({
        url: '/api/common/captcha/verify',
        method: 'POST',
        data
    })
}

// 发送短信接口

export function sendSms(data) {
    return axios({
        url: '/api/common/sms/send',
        method: 'POST',
        data
    })
}